<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
<title>head</title>
</head>
<body>
<div style="margin: 100px;font-size: 8px">

    <h1 id="h1"> h1 </h1>

    <h2 id="h2"> h2 </h2>

</div>

<script src="/kissy/build/seed.js"></script>
<script>
    KISSY.use('core',function (S) {
        var $ = S.all;
        var ret = [];
        ret.push("h1 font-size : " + $("#h1").height());
        ret.push("h2 font-size : " + $("#h2").height());

        alert(ret.join("\n"));
    });
</script>
</body>
</html>